package com.zking.service.impl.ly;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zking.dao.domain.Resume;
import com.zking.dao.mapper.ly.BiographyMapper;
import com.zking.service.ly.BiographyService;

@Service
public class BiographyServiceImpl implements BiographyService{
	@Autowired
	private BiographyMapper bm;
	
	@Override
	public List<Resume> que() {
		List<Resume> lr = bm.que();
		return lr;
	}

	@Override
	public List<Resume> que2(String state) {
		List<Resume> lr = bm.que2(state);
		return lr;
	}

	@Override
	public int deletly(Resume resume) {
		int i = bm.deletly(resume);
		return i;
	}

	@Override
	public int upd(Resume resume) {
		int x = bm.upd(resume);
		return x;
	}

//	@Override
//	public List<Resume> se(int user_id) {
//		List<Resume> rs = bm.se(user_id);
//		return rs;
//	}
//
	@Override
	public Resume se2(Resume resume) {
		Resume j = bm.se2(resume);
		return j;
	}
}
